package io.github.source.media.bean;

import java.io.IOException;

/**
 * @ClassName: MediaInterceptor
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author: huangrongcai
 * @date: 2024/6/24
 * @Copyright: 黄嵘才（HuangRc)
 */
interface MediaInterceptor {
    MediaResult intercept(Chain chain) throws IOException;

    interface Chain {
        MediaQuery request();

        MediaResult proceed(MediaQuery query) throws IOException;
    }
}
